Only users with the partner or support permission can change the log level of Audit logs.
Stop the running zookeeper process with the commands sudo sv stop zookeeper and sudo /opt/commander/installed/zookeeper/bin/zkServer.sh stop.
Edit the file /opt/commander/installed/zookeeper/conf/log4j.properties using the command sudo vi /opt/commander/installed/zookeeper/conf/log4j.properties. Replace the first line with the command log4j.rootCategory=INFO, file. Change the log level from INFO to the required log level like DEBUG, WARN or TRACE.
Start the service using the sudo sv start zookeeper command.
Edit the file /opt/commander/etc/hadoop/log4j.properties using the command sudo vi /opt/commander/etc/hadoop/log4j.properties. Replace the first line with the command log4j.rootCategory=INFO, file. Change the log level from INFO to the required log level like DEBUG, WARN or TRACE.
Reboot the system for the changes to take effect.
Stop the tomcat service using the sudo docker stop directorapi command.
Edit the following files:
/opt/commander/etc/config/{configapi,monitorapi,governingapi}.properties.
Choose configapi, monitorapi or governingapi according to the requirements.
For example,
Execute the following command to change the loglevel of configapi:
sudo vi /opt/commander/etc/config/configapi/configapi.propertiesReplace the first line with the command log4j.rootCategory=INFO, file.
Change the log level from INFO to the required log level like DEBUG, WARN or TRACE.
Start the tomcat service using the sudo docker start directorapi command.
We are glad this guide helped.
Please don't include any personal information in your comment
Contact Support